package com.tang.springboot_enable_other.Userconfig;

import com.tang.springboot_enable_other.domain.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/*
* 标注是一个配置类
* */
@Configuration
public class Userconfig {

    @Bean
    public User user(){
        return new User();
    }
}
